dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleBFile Class / Read Method / Read(Byte[],Int32,Int32) Method
The byte array buffer to be populated.
The zero-based byte offset in the buffer.
The amount of bytes to read.

In This Topic
    Read(Byte[],Int32,Int32) Method
    In This Topic
    Reads a sequence of bytes from the current OracleBFile stream and advances the position within the stream by the number of bytes read.
    Syntax
    'Declaration
     
    Public Overloads Overrides NotOverridable Function Read( _
       ByVal buffer() As Byte, _
       ByVal offset As Integer, _
       ByVal count As Integer _
    ) As Integer
    public override int Read( 
       byte[] buffer,
       int offset,
       int count
    )

    Parameters

    buffer
    The byte array buffer to be populated.
    offset
    The zero-based byte offset in the buffer.
    count
    The amount of bytes to read.

    Return Value

    The total number of bytes read into the buffer.
    Remarks
    The Read method reads a maximum of count bytes from the current stream and stores them in buffer beginning at offset position. The current position within the stream is advanced by the number of bytes read. The Read method returns 0 if the position is at the end of the stream.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also